home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / DYN401.ZIP / include / dynwin.h < prev    next >
C/C++ Source or Header  |  1997-02-25  |  2KB  |  67 lines

  1.  
  2. /*
  3.  *
  4.  *    Copyright (c) 1995-1996 Algorithms Corporation
  5.  *    3020 Liberty Hills Drive
  6.  *    Franklin, TN  37067
  7.  *
  8.  *    ALL RIGHTS RESERVED.
  9.  *
  10.  *
  11.  *
  12.  */
  13.  
  14.  
  15. #ifndef    _WIN32
  16. void    Sleep(DWORD millisecs);
  17. #endif
  18.  
  19.  
  20. /*  Scaling modes   */
  21.  
  22. #define SM_10_PER_SYSCHAR    0    /*  10 points per system character  */
  23. #define SM_PIXELS        1    /*  streight pixels                 */
  24. #define SM_1_PER_CHAR        2    /*  1 per a particlar font          */
  25.  
  26.  
  27.  
  28. #define mLoad(c, i)        gLoad(c, (unsigned) (i))
  29. #define mLoadMenu(w, i)        gLoadMenu(w, (unsigned) (i))
  30. #define mAssociate(w, i, f)    gAssociate(w, (UINT) (i), (void (*)()) f)
  31. #define mMenuFunction(w, i)    gMenuFunction(w, (UINT) (i))
  32. #define mSetMode(h, i, m)    gSetMode(h, (UINT) (i), m)
  33. #define mMenuItemMode(w, i, m)    gMenuItemMode(w, (unsigned) (i), m)
  34. #define mLoadCursor(w, i)    gLoadCursor(w, (unsigned) (i));
  35. #define mLoadIcon(w, i)        gLoadIcon(w, (unsigned) (i));
  36.  
  37. #define mNewDialog(c, i, w)    gNewDialog(c, (WORD) (i), w)
  38. #define mAddControl(s,c,i)    gAddControl(s, c, (UINT) (i))
  39. #define mAddControlStr(s,c,i,n)    gAddControlStr(s, c, (UINT) (i), n)
  40. #define mGetControl(s,i)    gGetControl(s, (UINT) (i))
  41. #define mCtlValue(s,i)        gCtlValue(s, (UINT) (i))
  42. #define mIndexValue(s,i)    gIndexValue(s, (UINT) (i))
  43. #define mCtlStringValue(s,i)    gCtlStringValue(s, (UINT) (i))
  44. #define mCtlShortValue(s,i)    gCtlShortValue(s, (UINT) (i))
  45. #define mCtlUnsignedShortValue(s,i)    gCtlUnsignedShortValue(s, (UINT) (i))
  46. #define mCtlLongValue(s,i)    gCtlLongValue(s, (UINT) i)
  47. #define mCtlDoubleValue(s,i)    gCtlDoubleValue(s, (UINT) (i))
  48. #define mChangeMenuText(s,i,t)    gChangeMenuText(s, (UINT) (i), t)
  49. #define    mAddToolBitmap         gAddToolBitmap(s, (UINT) (id1), (UINT) (id2), space, ifun)
  50.  
  51. #define mNewCtl(s, i)        vNew(s, (UINT) (i))
  52. #define mGroup(s, i, j)        gGroup(s, (unsigned) (i), (unsigned) (j))
  53.  
  54. /*
  55.  *
  56.  *    Copyright (c) 1995-1996 Algorithms Corporation
  57.  *    3020 Liberty Hills Drive
  58.  *    Franklin, TN  37067
  59.  *
  60.  *    ALL RIGHTS RESERVED.
  61.  *
  62.  *
  63.  *
  64.  */
  65.  
  66.  
  67.